﻿<%@ Page Language="C#" AutoEventWireup="false" Inherits="Web.BasePage"%>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="Web.Controller" %>
<%@ Import Namespace="Domain.Entities" %>
<%@ Import Namespace="Web.UI" %>
<% 
    ProductHandler h = new ProductHandler();
    ProductInfo info = h.Show();
%>

<div class="crumb">当前位置： <a href="Default.aspx">首页</a> > <a href="Default.aspx?Module=<%=Module %>&Action=Index">产品中心</a></div>
<div id="food" class="box">
    <b class="rc-tp"><b></b></b>
    <span class="shadow"></span>
    <div class="hd">
        <span class="icon"></span>
        <h2>产品中心<span>Beauty food</span></h2>
    </div>
    <div class="bd">

        <% if( SecurityUI.IsMaintainMode(null) ){ %>
        <div>
            <a href="Part.aspx?Module=<%=Module %>&Handler=Product&Action=Edit&Id=<%=info.Id %>" class="btn-update-product">编辑</a>
        </div>
        <%} %>

        <div class="info">
            <h3><%=info.Name %></h3>
            <div class="rows">
                <%=info.Description %>
            </div>
        </div>
        <div class="intro">
            <h3>产品介绍</h3>
            <div class="rows">
                <%=info.Content %>
            </div>
        </div>

    </div>
</div>